
import React, { PureComponent } from 'react';
import {Link} from "react-router-dom";

export default class List extends PureComponent {
  render() {
    return (
        <>
            <div>Search传参</div>
              <ul>
                <li><Link to="/Admin/DetailSearch?id=01001&brand=比亚迪">比亚迪（秦）</Link></li>
                <li><Link to={{pathname:"/Admin/DetailSearch",search:"?id=01002"}}>比亚迪（汉）</Link></li>
                <li><Link to="/Admin/DetailSearch?id=01003">比亚迪（唐）</Link></li>
                <li><Link to="/Admin/DetailSearch?id=01004">比亚迪（宋）</Link></li>
                <li>红旗</li>
                <li>吉利</li>
            </ul>
        </>
    )
  }
}
